package com.hieu.pattern.mvc;

public class MVCPatternDemo {
	
//	public static void main(String[] args) {
//		
//		//fetch student record based on his roll no from the database
//		StudentModel model  = new StudentModel("Robert", "10");
//		//Create a view : to write student details on console
//		StudentView view = new StudentView();
//		
//		StudentController controller = new StudentController(model, view);
//		
//		controller.updateView();
//		
//		//update model data
//		controller.setStudentName("John");
//		
//		controller.updateView();
//	}
	
}

